//
//  CommonWebView.m
//  MyPhoneApp
//
//  Created by baken on 2016/10/14.
//  Copyright © 2016年 myApp. All rights reserved.
//

#import "CommonWebView.h"

@implementation CommonWebView

- (instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        self.backgroundColor = UIColorFromRGB(kAllWhiteColor);        
        self.allowsBackForwardNavigationGestures = YES;
        self.configuration.allowsInlineMediaPlayback = YES;
        self.configuration.allowsPictureInPictureMediaPlayback = YES;
        self.allowsLinkPreview = NO;
        self.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
        
    }
    return self;
}




@end
